export interface AppAuthTableParams {
  current: number;
  size: number;
  tenantId: string;
  appId: string;
  packageId?: number;
}
export interface TableRecord {
  id: number;
  tenantName: string;
  tenantCode: string;
  alias: string;
  appName: string;
  appId: string;
  packageType: string;
  packageId: string;
  expireTime: string;
  isSubscribed: boolean;
  isISVCreateAccount: boolean;
  status: string;
  enabled: boolean;
  registerTime: string;
}
export interface AppAuthTableItem {
  size: number;
  current: number;
  records: TableRecord[];
  pages: number;
  total: number;
}

export interface TenantAndTimeList {
  tenantId: number;
  expireTime: string;
  id?: number;
}
export interface AddAppAuthParams {
  appId: number;
  packageIdList: number[];
  tenantAndTimeList: TenantAndTimeList[];
}
export interface EditAppAuthParams {
  id: number;
  expireTime: string;
}

export interface PackageItem {
  packageId: number;
  packageType: string;
}
export interface AliaItem {
  tenantAlias: string;
  tenantId: number;
}
export interface AppItem {
  id: number;
  createdTime: string;
  createdBy: number;
  lastUpdateTime: string;
  lastUpdateBy: number;
  isDel: boolean;
  appId: string;
  appName: string;
  logo: string;
  type: number;
  version: string;
  architecture: string;
  description: string;
  isSubscribed: number;
  logoLink: string;
}
